package org.oslims.server.dao;

import java.util.List;

import org.oslims.domain.AbstractSample;

public interface AbstractSampleDao extends BaseDao<AbstractSample, Long> {

	List<AbstractSample> findByRequestCode(String code);

	List<AbstractSample> searchByProperties(String sampleCode, String description, String origin, String requestCode, String sampleType, String storagePlace);

	List<AbstractSample> findByAnalysisAndState(Long analyisId, String state);

	List<AbstractSample> findReadyForAnalysisByRequestCode(String code);

	List<String> getSampleStatesForRequest(String requestCode);
}
